﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HMP.GUI;
using System.Text.RegularExpressions;

namespace HMP.BL
{
    class CheckUserNameBL
    {
        //CHECK USER NAME
        private bool CheckUsername(string x)
        {
            Match m = Regex.Match(x, "(^[A-Za-z0-9_.]{6,}$)");
            if (m.Success)
                return true;
            else
                return false;
        }//end function

        //CHECK PASSWORD

    }
}
